package com.wmzdq.aiservice.api;

import com.wmzdq.aiservice.constant.PlatformConstant;
import lombok.Getter;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="ai-service",contextId = "ai-service",path="/test")
public interface DashAiService {

    @GetMapping("/simple/chat")
    public String simpleChat(@RequestParam(value = "query")String query,@RequestParam(value="model")String model);


    @GetMapping("/supperLotto")
    public String supperLotto(@RequestParam(value="path")String path);

    @PostMapping("/search/chat")
    public String searchChat(@RequestBody String input);
}
